package com.atguigu.yygh.cmn.service;

import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DictService extends IService<Dict> {
    //id获取全部数据
    List<Dict> haveChilsData(Long id);
    //导出数据字典
    void exportDataServuce(HttpServletResponse Response);
    //导入数据字典
    void importExceData(MultipartFile file);
    //条件查询获取字典名字
    String getNameByParentDictCodeAndValue(String parentDictCode, String value);
    //根据dictCode获取下级节点
    List<Dict> findByDictCode(String dictCode);
}
